import request from '@/utils/request'

// 查询房间状态列表
export function listFjzt1(query) {
  return request({
    url: '/fjzt/fjzt1/list',
    method: 'get',
    params: query
  })
}

// 查询房间状态详细
export function getFjzt1(ID) {
  return request({
    url: '/fjzt/fjzt1/' + ID,
    method: 'get'
  })
}

// 新增房间状态
export function addFjzt1(data) {
  return request({
    url: '/fjzt/fjzt1',
    method: 'post',
    data: data
  })
}

// 修改房间状态
export function updateFjzt1(data) {
  return request({
    url: '/fjzt/fjzt1',
    method: 'put',
    data: data
  })
}

// 删除房间状态
export function delFjzt1(ID) {
  return request({
    url: '/fjzt/fjzt1/' + ID,
    method: 'delete'
  })
}

export function WSD() {
    return request({
      url: '/fjzt/fjzt1/WSD',
      method: 'get',
    })
}

